<extend name="Public:base" />
<block name="header" >
    <span class="action-span"><a href="">广告列表</a></span>
    <span class="action-span1"><a href="">武汉同兴一站办企业服务有限公司 管理中心</a></span>
  <!--  <span id="search_id" class="action-span1"> - 商品列表 </span>-->
    <div style="clear:both"></div>
</block>

<block name="body">


<!-- 商品列表 -->

<div class="list-div" id="listDiv">
    <table cellpadding="3" cellspacing="1">
        <tr>
            <th>编号</th>
            <th>广告分类名称</th>
            <th>广告图片</th>
            <th>描述</th>
            <th>广告地址url</th>
            <th>广告状态</th>
            <th>广告排序</th>
            <th>操作</th>
        </tr>
        <volist name="list" id="vo">
        <tr>
            <td align="center">{$vo.adverti_id}</td>
            <td align="center"><span>{$vo.class_name}</span></td>
            <td align="center"><span><img src="{$vo.image}" alt="tu" style="width:120px;"/></span></td>
            <td align="center"><span>{$vo.describe}</span></td>
            <td align="center"><span>{$vo.url}</span></td>
            <td width="15%"><img src="__PUBLIC_ADMIN__/Images/<eq name='vo.state' value='1'>yes.gif<else/>no.gif</eq>"  /></td>
            <td align="center"><span>{$vo.sort}</span></td>
            <td align="center">
            <a href="{:U('edit?role_id='.$vo['adverti_id'].'&tableName=adverti_list')}">编辑</a>
            <a href="{:U('dels?role_id='.$vo['adverti_id'].'&tableName=adverti_list')}">删除</a>
            </td>
        </tr>
        </volist>
    </table>

    <!-- 分页开始 -->
    <table id="page-table" cellspacing="0">
        <tr>
            <td width="80%">&nbsp;</td>
            <td align="center" nowrap="true">
              {$data.pageStr}
            </td>
        </tr>
    </table>
<!-- 分页结束 -->
</div>
</block>